package udp.message;

public class FailMessage extends UdpMessage {
	
	static final long serialVersionUID = 16L;
	
	String failure;
	
	public FailMessage(){}
	
	public FailMessage(String failure){
		this.failure = failure;
	}

	public String getFailureType() {
		return failure;
	}

	public void setCrashFailure() {
		this.failure = "failure";
	}
	
	public void setSoftwareFailure() {
		this.failure = "software";
	}
	
}
